package com.c2c.po;

import com.c2c.po.enums.impl.ComplaintsState;

import java.util.Date;

public class Complaint {

    private int complaintId;
    private Date complaintTime;
    private String complaintReason;
    private int userAccount;
    private int orderId;
    private String adminId;

    private ComplaintsState complaintState;


    public int getComplaintId() {
        return complaintId;
    }

    public void setComplaintId(int complaintId) {
        this.complaintId = complaintId;
    }

    public Date getComplaintTime() {
        return complaintTime;
    }

    public void setComplaintTime(Date complaintTime) {
        this.complaintTime = complaintTime;
    }

    public String getComplaintReason() {
        return complaintReason;
    }

    public void setComplaintReason(String complaintReason) {
        this.complaintReason = complaintReason;
    }

    public int getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(int userAccount) {
        this.userAccount = userAccount;
    }

    public int getOrderId() {
        return orderId;
    }

    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }

    public String getAdminId() {
        return adminId;
    }

    public void setAdminId(String adminId) {
        this.adminId = adminId;
    }

    public ComplaintsState getComplaintState() {
        return complaintState;
    }

    public void setComplaintState(ComplaintsState complaintsState) {
        this.complaintState = complaintsState;
    }

    @Override
    public String toString() {
        return "Complaint{" +
                "complaintId=" + complaintId +
                ", complaintTime=" + complaintTime +
                ", complaintReason='" + complaintReason + '\'' +
                ", userAccount=" + userAccount +
                ", orderId=" + orderId +
                ", adminId='" + adminId + '\'' +
                ", complaintState=" + complaintState +
                '}';
    }
}
